package com.qingxin.sys.smslib;

/**
 * 封装一条短信数据
 * @author Administrator
 *
 */
class SmsData {

	
	private String phone;
	private String message;
	private long time;

	
	public SmsData(String phone, String message) {
		this.phone = phone;
		this.message = message;
		this.time = System.currentTimeMillis();
	}


	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	
	@Override
	public String toString() {
		return "{phone:"+phone+", message:"+message+"}";
	}
	
	
}
